$(function () {
    isLogin();
});

function isLogin() {
    let username = sessionStorage.getItem("username");
    if (username == null) {
        window.open("/html/login.html", '_top');
    }
}